Just like the address path in my log, let Index.php?action=one&do=two
Become:? index/action/one/do/two
Copy CodeThe code is as follows:
index.php
--------------
Parsing QUERY STRING
$QS =explode ("&", $_server[' query_string ']);
$QS =explode ('/'
In php, the super-Simple Method of Implementing Pseudo URLs [convert] is like the address path in my log, so that index. php? Action = one & do = two
Changed :? Index/action/one/do/two
The Code is as follows:
Index. php--------------
// PARSING
Configure HTTP. conf in Apache# Make PHP look like other programming languages, use PHP to parse files with the following extensionsAddtype application/X-httpd-PHP. asp. py. pl. html. htmOr set php as the default file.HTTP. conf-Apache# Set default
Just like the address path in my log, let index. php? Action = one & do = two
Changed :? Index/action/one/do/two
Copy codeThe Code is as follows: index. php
--------------
// PARSING QUERY STRING$ QS = explode ("&", $ _ SERVER ['query _ string']);$
Just like the address path in my log, let index. php? Action = one & do = twoChanged :? Index/action/one/do/twoCopy codeThe Code is as follows:Index. php--------------// PARSING QUERY STRING$ QS = explode ("&", $ _ SERVER ['query _ string']);$ QS =
Just like the address path in my log, let Index.php?action=one&do=two
Become:? index/action/one/do/two
Copy Code code as follows:
index.php
--------------
Parsing QUERY STRING
$QS =explode ("&", $_server[' query_string '));
$QS
Ubuntu server and desktop are equipped with the PHP lamp environment, the steps are no different, the relevant tutorials online is also a lot, here to put their own configuration process recorded, save every time Google ... For referenceThe entire
Travel Niao supper 鰌 Ost I wrote it in the beginning of December 2001, hoping to help you learn PHP
It is estimated that the first problem is mostly how to configure the problem
Suggest a few software
Server Apache, database MySQL, and, of course,
This article is mainly on the PHP to invoke the implementation of the C code is introduced, the need for friends can come to the reference, I hope to help you. In the PHP program needs to use the C code, should be the following two kinds of
root@asd:/xx/production/xxx# apt Remove php-snmp root@asd:/xx/production/xxx# Apt Autoremove
Reading package lists ... Done building Dependency The Reading state information ... Done the following packages would be removed:libsnmp-base libsnmp3
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.